package com.lshtv.model;

import java.sql.Timestamp;

/**
 * Article entity. @author MyEclipse Persistence Tools
 */

public class Article implements java.io.Serializable {

    // Fields    

    private Integer   id;
    private String    title;
    private String    description;
    private String    content;
    private Timestamp gmtCreate;
    private Integer   readOnly;

    // Constructors

    /** default constructor */
    public Article() {
    }

    /** full constructor */
    public Article(String title, String description, String content, Timestamp gmtCreate,
                   Integer readOnly) {
        this.title = title;
        this.description = description;
        this.content = content;
        this.gmtCreate = gmtCreate;
        this.readOnly = readOnly;
    }

    // Property accessors

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Timestamp getGmtCreate() {
        return this.gmtCreate;
    }

    public void setGmtCreate(Timestamp gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Integer getReadOnly() {
        return this.readOnly;
    }

    public void setReadOnly(Integer readOnly) {
        this.readOnly = readOnly;
    }

}